﻿using ProTrack.Entity;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace ProTrack.IServices.Product
{
    public  interface IPanHaoServices
    {
        public Task<IEnumerable<PanHao>> GetAllAsync();
        public Task<IEnumerable<PanHao>> GetAsync(int PageIndex, int PageSize, string Number);
        public Task<int> GetCountAsync( string Number);
        public Task<bool> UpdateAsync(PanHao model);
        public Task<bool> AddAsync(PanHao model);
        public Task<bool> DeleteAsync(int[] Ids);
        public Task<bool> DeleteAsync(int Id);

    }
}
